﻿
using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using famails.dto;
using famails.App_Code.source.dto;
namespace famails.iface
{
    /// <summary>
    /// Summary description for ICategory
    /// </summary>
    public interface ICM_Order
    {
        DataTable GetByID( decimal ID, int UserID);
        DataTable Search(string ordercode, string deliverycode, string name, string email, string phone, string from, string to, int groupid, int userid);
        object Insert(CM_OrderDTO dto);
        bool Edit(CM_OrderDTO dto);
        bool Delete(int id);
    }
}